Welcome![Sign In][Sign Up]
Location:
Search - cpu power 2

Search list

[Mathimatics-Numerical algorithmsPID-c-source-code

Description: 在使用单片机作为控制cpu时,请稍作简化,具体的PID参数必须由具体对象通过实验确定。由于单片机的处理速度和ram资源的限制,一般不采用浮点数运算,而将所有参数全部用整数,运算到最后再除以一个2的N次方数据(相当于移位),作类似定点数运算,可大大提高运算速度,根据控制精度的不同要求,当精度要求很高时,注意保留移位引起的“余数”,做好余数补偿。这个程序只是一般常用pid算法的基本架构,没有包含输入输出处理部分。-In the use of single-chip microcomputer as the control cpu, please make some simplification, the specific PID parameters must be determined through experiments at specific audiences. As the single-chip processing speed and ram resource constraints, generally do not use floating-point, and will use all parameters of all integers, computing the final 2 and then divided by a N-th power of data (equivalent to shift), similar fixed-point computation can be greatly enhanced speed of operation, according to the different requirements of control precision, when high precision, the attention to retain the shift caused by the balance , do a good job in the balance of compensation. This procedure is commonly used algorithm pid basic structure does not contain input and output part of treatment.
Platform: | Size: 1024 | Author: 王强 | Hits:

[SCMDS1302-Keil

Description: Keil c编写的DS1302源代码。DS1302 是美国DALLAS公司推出的一种高性能、低功耗、带RAM的实时时钟电路,它可以对年、月、日、周日、时、分、秒进行计时,具有闰年补偿功能,工作电压为2.5V~5.5V。采用三线接口与CPU进行同步通信,并可采用突发方式一次传送多个字节的时钟信号或RAM数据。DS1302内部有一个31×8的用于临时性存放数据的RAM寄存器。DS1302是DS1202的升级产品,与DS1202兼容,但增加了主电源/后背电源双电源引脚,同时提供了对后背电源进行涓细电流充电的能力。 -Keil c prepared DS1302 source code. DS1302 is DALLAS U.S. companies launched a high-performance, low power consumption, with RAM
Platform: | Size: 77824 | Author: 无名 | Hits:

[uCOSAN-1405

Description: ucos II对xilinx的fx系列的power pc 405的板级支持包,包括port定义和板载控制,需另外下载cpu independent的ucos-Xilinx ucos II of the fx series of power pc 405 Board Support Package, including the port definition and on-board control, the need to download another cpu independent of uCOS
Platform: | Size: 318464 | Author: h | Hits:

[Embeded-SCM DevelopPwDigital060927

Description: 電源供應器設計利用鍵盤介面輸入電源電壓值以SPI界面傳至另一顆CPU做前端之運算結果傳回做LED顯示-Power supply design using the keyboard interface input supply voltage value in order to spread to other SPI interface a CPU to do the front end of the computing results are returned to do LED display
Platform: | Size: 27648 | Author: Vincent | Hits:

[Othertest010(C51)

Description: 文 件 名:test010.c * 功 能:外部中断1负边沿触发实验。 * 硬件条件:1.CPU型号:AT89S52 * 2.晶振:12.000MHz * 3.用跳线帽短接BEEP_P1.3 * 4.用跳线帽短接KEY3_P3.3 * 5.用跳线帽短接LED11__P1.7 * 作 者:POWER * 日 期:2006年12月12号-File name: test010.c* functions: external interrupt 1 edge triggered negative experiments.* Hardware requirements: 1.CPU Model: AT89S52* 2. Crystal: 12.000MHz* 3. Shorted with jumper caps BEEP_P1.3* 4. Shorted with jumper caps KEY3_P3.3* 5. With a short jumper cap Then LED11__P1.7* Author: POWER* Date: December 12, 2006
Platform: | Size: 9216 | Author: 卓依凡 | Hits:

[Othertest005(C51)

Description: * 文 件 名:test005.c * 功 能:利用P1.3输出高低电平来控制蜂鸣器蜂鸣。 * 硬件条件:1.CPU型号:AT89S52 * 2.晶振:12.000MHz * 3.用跳线帽短接BEEP_P1.3 * 作 者:POWER-* File Name: test005.c* function: the use of high-low output P1.3 to control the buzzer buzz.* Hardware requirements: 1.CPU Model: AT89S52* 2. Crystal: 12.000MHz* 3. Shorted with jumper caps BEEP_P1.3* Author: POWER
Platform: | Size: 7168 | Author: 卓依凡 | Hits:

[Other Embeded program18b02

Description: DS1820 数字温度计提供 9 位温度读数,指示器件的温度信息经过单线接口送入 DS1820 或从 DS1820 送出因此从中央处理器到 DS1820 仅需连接一条 线和地读写和完成温度变换所需的电源可以由数据线本身提供-DS1820 digital thermometer provides 9 temperature readings indicative of the temperature device information through one-way interface into the DS1820 or DS1820 sent from the CPU to the DS1820 from a line just to connect and to read and write and complete the transformation temperature of the power required by data line itself
Platform: | Size: 63488 | Author: 廖庭杰 | Hits:

[Database systemdebug

Description: 采用STC89C52单片机作为系统的核心控制器件,利用定时中断,对任务设计了不同的响应频度,CPU分别执行各任务。用这种任务抢占思想构建的程序框架,实现各模块功能,实现了电压可控的恒定直流稳压电源设计。采用10位的AD1543和 DA5615,实现高精度输出与测量;通过闭环控制,使输出电压稳定;显示模块采用了WM-C1602N液晶显示模块,人机界面友好。该系统采用市电变压供电,由单片机控制模块、AD转换模块、DA转换模块、稳压电路、键盘输入模块与显示模块组成,具有高精确输出直流电压功能,测量精度高、抗干扰能力强等特点。-STC89C52 system used as the core of single-chip microcomputer control devices, the use of regular interruption of tasks designed to respond to different frequency, CPU implementation of the tasks, respectively. This task to build process to seize the ideological framework for the realization of the modules to achieve a controllable constant voltage DC power supply design. 10-bit AD1543 and DA5615, to achieve high-precision measurement of output through closed-loop control, so that the output voltage stability display module using the WM-C1602N liquid crystal display module, a friendly man-machine interface. The system uses a municipal electric transformer power supply, by the single-chip control module, AD converter, DA converter, voltage regulator circuits, the keyboard input module and display module with high-precision DC voltage output function, high precision measurement, features such as anti-interference ability.
Platform: | Size: 67584 | Author: john | Hits:

[SCMSM0038

Description: SM0038对外只有3个引脚:VS、GND和1个脉冲信号输出引脚OUT,外形引脚如图二所示。与单片机接口非常方便,如图三所示。VCC接电源+5V并经电容进行滤波,以避免电源干扰 GND接系统的地线(0V);脉冲信号输出接CPU的中断输入引脚(例如8051的13脚INT1)。采取这种连接方法,软件解码既可工作于查询方式,也可工作于中断方式。-SM0038 external only three pins: VS, GND, and a pulse signal output pin OUT, pin shape as shown in Figure 2. With the MCU interface is very convenient, as shown in Figure 3. VCC Power Supply+5 V, and then is filtered by the capacitor in order to avoid interference with the power GND then the system ground (0V) pulse signal output next CPU interrupt input pins (such as 8051' s 13-pin INT1). Take this connection method, the software decoder can work on ways to search, but also works in interrupt mode.
Platform: | Size: 15360 | Author: 海峰 | Hits:

[ARM-PowerPC-ColdFire-MIPSLPC2210

Description: 用周立功的easyarm2200的板子,LPC2210的芯片,ucos系统 使用P0.25作为温度采集管脚, DS18B20和上拉电阻使用同一个+5V电源 LCD同时显示时间 和CPU使用率-ZLG the easyarm2200 with the board, LPC2210 chip, ucos as the temperature acquisition system uses the P0.25 pin, DS18B20 and pull-up resistor to use the same+5 V power supply LCD also shows the time and CPU usage
Platform: | Size: 1024 | Author: bean | Hits:

[Embeded-SCM DevelopC51

Description: DA转化模块0809是8位8通道逐次逼近式A/D转换器,CMOS工艺,可实现8路模拟信号的分时采集,片内有8路模拟选通开关,以及相应的通道地址锁存用译码电路,其转换时间为100us左右。 OCM12864 液晶显示模块是128×64 点阵型液晶显示模块,可显示各种字符及图形,可与CPU 直接接口,具有8 位标准数据总线、6 条控制线及电源线,采用KS0108 控制IC -DA conversion module 0809 is an 8-bit 8-channel successive approximation type A/D converter, CMOS technology, can realize 8-channel analog signal acquisition time-sharing, on-chip 8-channel analog strobe switches, and the corresponding channel address latch with the decoding circuit, the conversion time is around 100us. OCM12864 liquid crystal display module is 128 × 64 points, formation liquid crystal display module can display a variety of characters and graphics can be a direct interface with the CPU, with 8-bit standard data bus, six control lines and power lines, with KS0108 Control IC
Platform: | Size: 21504 | Author: miugedeon | Hits:

[Other Embeded programRTC

Description: LPC2106的RTC模块程序,分别为RTC控制蜂鸣器1s响一次,led灯1s亮一次,RTC唤醒掉电的CPU,控制数码管显示和万历年。-LPC2106 the RTC module procedures were 1s RTC control ring a buzzer, led a bright light 1s, RTC wake-up power-down the CPU, control the digital display and 10 000 years.
Platform: | Size: 360448 | Author: 何情 | Hits:

[Other Embeded programWatchDog

Description: LPC2106的看门狗程序,唤醒掉电CPU。-LPC2106 watchdog program, wake up power-down CPU.
Platform: | Size: 108544 | Author: 何情 | Hits:

[Embeded-SCM DevelopHPI_module

Description: 本文件夹中的代码是“HPI模块”的相应代码。 HPI.c 该文件是操作HPI的代码,包括HPI读写操作(地址固定或者自增模式)。 电路图.pdf 该文件是HPI和S3C44B0X的电路连接原理图,本电路图注重于描述主机CPU(即ARM芯片S3C44B0)和C6713间的HPI连接方式,所以,电路连接标号一般只涉及ARM、C6713之间的连接关系,至于C6713的其他部分(如SDRAM、FLASH等)和部分控制信号、电源信号都略去。读者朋友可参考另外相关的章节。-The code in this folder is " HPI module" of the corresponding code. HPI.c the file is HPI operation code, including HPI read and write operation (address fixed or self-growth model). Circuit. Pdf files are HPI and S3C44B0X the circuit connection diagram, circuit diagram focusing on the description of the main CPU (the ARM chip S3C44B0) and C6713 connection between the HPI, therefore, the circuit connection label generally involve ARM, C6713 between connection relations, as in other parts of C6713 (such as SDRAM, FLASH, etc.) and some control signals, power signals are omitted. Readers may refer to other relevant chapters.
Platform: | Size: 60416 | Author: 小胖 | Hits:

[SCMMC2008flashdemo

Description: 针对MC2008POS机,实现读写IC卡、打印、SAM卡认证、FLSH读写与存储、键盘输入、屏幕显示、电源管理。M1卡、TI卡、CPU卡进行读写处理的代码-For MC2008POS machine, to achieve reading and writing IC card, print, SAM card authentication, FLSH read and write and storage, keyboard input, screen display, power management. M1 card, TI card, CPU card processing code to read and write
Platform: | Size: 1024 | Author: 金泉 | Hits:

[SCMMC2008intsamp(GPR-Ba)

Description: 针对MC2008POS机,实现读写IC卡、打印、SAM卡认证、FLSH读写与存储、键盘输入、屏幕显示、电源管理。M1卡、TI卡、CPU卡进行读写处理的代码-For MC2008POS machine, to achieve reading and writing IC card, print, SAM card authentication, FLSH read and write and storage, keyboard input, screen display, power management. M1 card, TI card, CPU card processing code to read and write
Platform: | Size: 189440 | Author: 金泉 | Hits:

[Graph programcuda_txcl

Description: 基于CUDA的高性能图像处理算法。着重介绍CPU和CUDA的计算能力,并详细介绍图像处理的背景以及几种操作的原理。在经过实验之后,对比CPU的计算能力可以发现,CUDA在并行处理数据的能力非常强大。由此可知,在图像处理的应用中,CUDA将大有可为。然而Hough变换的性能提升并不明显,其中的原子操作导致线程的排队,大幅度降低了线程并发性能,从而使得CUDA并行运算的优点不能显示出来,此问题的解决,有赖于对Hough变换并行算法的更深入研究。-CUDA-based high-performance image processing algorithms. Focuses on the computing power of CPU and CUDA, and detail the background of image processing and several operating principles. After experiments, comparing CPU' s computing power can be found, CUDA' s ability to process data in parallel is very strong. It can be seen in image processing applications, CUDA will be promising. Hough transform performance, however not obvious, which led to the thread queue atomic operations, significantly reduce the thread concurrency, which makes the advantages of CUDA parallel computing can not be displayed to solve this problem, parallel algorithm depends on the Hough transform more in-depth study.
Platform: | Size: 9528320 | Author: 古月衣 | Hits:

[SCMRC522

Description: MFRC522串口通信1.硬件上将I2C,EA接低电平.2,SDA接CPU的TXD,D7接CPU的RXD.将3.3V电源也接入进来. 软件上将SPI收发改为串口收发,并将串口输出的寄存器地址也改为00XXXXXXb,10XXXXXXb的格式.通讯波特率采用默认的9600. -MFRC522 serial communication 1. Hardware will I2C, EA then low .2, SDA then CPU' s TXD, D7 CPU then the RXD. Will have access to come in 3.3V power supply. Transceiver to the serial SPI software will send and receive, and the serial output register addresses to 00XXXXXXb, 10XXXXXXb format. communication baud rate with default 9600.
Platform: | Size: 26624 | Author: 徐世军 | Hits:

[Other Embeded programMSP430-application-of-thermometer

Description: 在《温度计_基本原理》程序中,已经实现了一个温度测量和显示的系统,但因为采样速率很快,且对基准源不加控制,耗电很大(800uA左右)。本例中,将温度采集速度降到1秒一次,且采样间隙时间不仅关闭基准源,还让CPU进入LPM3休眠状态,大大节省了耗电。该程序功耗仅10uA左右,可用纽扣电池长期运行(2年)。实际上对于环境温度1秒1次采样仍属浪费,如果降到5秒一次,功耗可下降到4uA左右(CR2032电池工作5年)。按KEY3后,CPU进入LPM4,功耗下降到0.1uA,这是一种常用的不断电的关机方法。同时,该程序示例了如何例用程序库快速的完成开发任务。-In the "basic principles of the thermometer _" program, has achieved a temperature measurement and display system, but because the sampling rate soon, and uncontrolled source of reference, a large power consumption (800uA or so). In this example, the temperature dropped to 1 second time acquisition speed, and the sampling time is not only close the gap reference source, but also allow CPU access to LPM3 sleep, significant savings in power consumption. 10uA power consumption is only about the program, the available long-running button batteries (2 years). In fact, for the ambient temperature 1 1 second sample is still a waste, if reduced to 5 seconds, power consumption can be reduced to around 4uA (CR2032 battery 5 years). After the press KEY3, CPU into LPM4, power consumption down to 0.1uA, which is a commonly used method for UPS shutdown. At the same time, the program example of how patients use the library to complete the development tasks faster.
Platform: | Size: 51200 | Author: 陶宇 | Hits:

[SCMPIDmcu

Description: 这是一个比较典型的PID处理程序,在使用单片机作为控制cpu时,请稍作简化,具体的PID 参数必须由具体对象通过实验确定。由于单片机的处理速度和ram资源的限制,一般不采用浮点数运算, 而将所有参数全部用整数,运算到最后再除以一个2的N次方数据(相当于移位),作类似定点数运算,可 大大提高运算速度,根据控制精度的不同要求,当精度要求很高时,注意保留移位引起的“余数”,做好余 数补偿。这个程序只是一般常用pid算法的基本架构,没有包含输入输出处理部分-This is a typical PID process, using the microcontroller as a control cpu, make some simplification, the specific PID Parameters must be determined experimentally by a specific object. As the ram chip processing speed and resource constraints, generally do not use floating-point operations, And all parameters of all integers, and divided by an operator to the last N-th power of 2 data (the equivalent of the shift) for a similar fixed-point operations can be Greatly enhance the computing speed, according to the different requirements of precision control, when high precision, attention to retain the shift caused by the "remainder", do I Number of compensation. This procedure is commonly used basic structure pid algorithm, does not include input and output processing section
Platform: | Size: 21504 | Author: liu | Hits:
« 1 23 4 5 6 »

CodeBus www.codebus.net